package model

// message type
const (
	BROADCAST = iota + 1
	PRIVATE
	GROUPMESSAGE
	GAMEROOMMESSAGE
	SYSTEM = -1
)

type ChatRoomMessage struct {
	Type     int         `json:"type"`
	Data     interface{} `json:"data"`
	Date     string      `json:"date"`
	Sender   string      `json:"sender"`
	Receiver string      `json:"receiver"`
}
